public class MatrixMain {

	public static void main(String[] args) {
		int[][] a1 = {{11, 12}, {21, 22}};
		int[][] a2 = {{51, 52}, {61, 62}};
		Matrix m1 = new Matrix(a1);
		Matrix m2 = new Matrix(a2);
		
		// Print
		System.out.println(m1);
		System.out.println(m2);
		
		// Add
		m1.add(m2);
		System.out.println("Add:");
		System.out.println(m1);
		
		// Substract
		m1.substract(m2);
		System.out.println("Substract:");
		System.out.println(m1);
				
		// Multiply
		m1.multiply(m2);
		System.out.println("Multiply:");
		System.out.println(m1);
	}
}
